/* reset.css */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;background: transparent;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

/* typography */
body {font-size: 1.2em;color:#32271B;font-family: Palatino, "Palatino Linotype",Georgia,"Times New Roman",Times,serif; word-spacing: 0.1em;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#000;font-family:"Droid Serif",Georgia;margin:0.9em 0 0.3em 0;}
h1 {font-size:2.2em;line-height:1;margin-bottom:0.3em;}
h2 {font-size:1.8em;margin-bottom:0.25em;}
h3 {font-size:1.4em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1.1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.0em;}
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#000;}
a {color:#005C99;text-decoration:none;}


a:hover {
    text-decoration:none;
    color: #000000;
    background-color: #FF0084;
}



blockquote {margin:1.5em;color:#7d7d7d;font-style:italic;border-left:3px solid #7d7d7d;padding-left:1em;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic; padding: 0;}
del {color:#666;}
pre {margin:0 0 1.5em 0;white-space:pre;}
pre, code, tt {font-family:"Droid Sans Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Andale Mono","Courier New",monospace;}
li ul, li ol {margin:0;}
ul, ol {margin:0 1.5em 1.5em 0;padding-left:3.333em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;}
thead th {background:#c3d9ff;}
th, td, caption {padding:4px 10px 4px 5px;}
tr.even td {background:#e5ecf9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#fff;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}
.caption { font-style: italic; }
header, footer { display: block; }
dt a { border-bottom: none; }
dt a:hover { border-bottom: none; }

/* selected text */
*::-moz-selection { background: #FFF4AB none repeat scroll 0 0; }
::selection { background: #FFF4AB none repeat scroll 0 0; }

/* grid */

html {
    background-color: #fff;
}

div.container { 
    margin: 10px 200px 50px 150px; 
    min-width: 860px;
    max-width: 1024px;
}

body {
    margin: 0 auto;
    position: relative;
    padding: 0;
}



/* footer */
footer { border-top: 1px solid #d3d3d3; margin-top: 2em; }
footer p { padding: 10px 0; font-size: 0.8em; line-height: 1.1em; }

/* article */

.meta { font-size: 0.9em; font-family: Georgia,"Times New Roman",Times,serif; font-style: italic; color: #FF0084; margin: 1em 0 0 0;}
.meta a { color: #555; }


.footnotes hr {
    display: block;
    position: relative;
    padding: 0;
    margin: 8px auto;
    width: 100%;
    clear: both;
    border: none;
    border-top: 1px solid #AAA;
    border-bottom: 1px solid #FFF;
    font-size: 1px;
    line-height: 0;
    overflow: visible;
}

/* standard page */
section#page img { float: left; margin-left: 1.5em; text-align: center; }
section#page h1 { margin: 0em 0 1em 0; }


/* table of contents */
nav h1 { text-align: center; }
ol#toc { padding: 0;}
ol#toc li { list-style-type: none; }
ol#toc li p { margin-bottom: 1em; }
ol#toc li h2 { margin: 0em; padding: 0; font-size: 1.3em;}
#toc h2 a { color: #4a4a4a; }
#toc h1 a { color: #4a4a4a; }

/* Syntax */
article code { font-size: 0.8em; }
article pre { border: 1px solid #efefef; padding: 10px;  background-color: #fbfbfb; overflow: auto; margin: 1em 0; line-height: 1em; }

article pre code { background-color: transparent; margin: 0; padding: 0; }
table.sourceCode { border: 1px solid #efefef;}
table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; vertical-align: baseline; }
td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding: 0 5px 0 5px; }
td.sourceCode { padding-left: 5px; }
code.sourceCode span.kw { color: #007020; font-weight: bold; }
code.sourceCode span.dt { color: #902000; }
code.sourceCode span.dv { color: #40a070; }
code.sourceCode span.bn { color: #40a070; }
code.sourceCode span.fl { color: #40a070; }
code.sourceCode span.ch { color: #4070a0; }
code.sourceCode span.st { color: #4070a0; }
code.sourceCode span.co { color: #60a0b0; font-style: italic; }
code.sourceCode span.ot { color: #007020; }
code.sourceCode span.al { color: red; font-weight: bold; }
code.sourceCode span.fu { color: #06287e; }
code.sourceCode span.re { }
code.sourceCode span.er { color: red; font-weight: bold; }


header.home{
    z-index: 90;
    position: fixed;
    left: 0;
    margin-top: 30px;
    margin-left: 20px;
    text-indent: 0.6em;
}


/* custom pages */
body.default div.container { padding-top: 5px; }


/* 404 */
body.notfound div.container { padding-top: 0.1em; }
body.notfound div.container h1 a { color: #000; }

span.language { 
    border: 1px solid #efefef;
    border-top: none;
    border-right: none;
    float: right;
    margin: -10px;
    text-align: right;
    padding: 0.5em 1em;
    font-size: 0.4em;
    background-color: #fff;
    color: #999;
}


#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 0px;
	right: 75px;
	overflow: hidden;
	width: 100px;
	height: 40px;
  line-height: 40px;
  text-transform: lowercase;
  background-color: #fbfbfb;
  border-top: 1px solid #efefef;
  border-left: 1px solid #efefef;
  border-right: 1px solid #efefef;
  font-size: 0.6em;
  text-align: center;
  font-family: "Droid Sans", "Menlo", "monospace";
}

a#toTop { color: #4D4D4D; }

#toTopHover {
	width: 100px;
	height: 40px;
}

#toTopHover a { color: #333; }

#toTop:active, #toTop:focus {
	outline:none;
}

/* styling */
strong {color:#FF0084;}
h2 { color: #4a4a4a; }
h3 { color:#006E2E; }

a:hover strong {
    text-decoration:none;
    color: #000000;
    background-color: #FF0084;
}

.book { float: right; 
}

.book_desc { float: left; 
            width: 75%; 
}

#footer_wrapper {
	width: 100%;
	background:#eaeaea;
	color:#bababa;
	float: left;
	padding-left: 0px;
	clear:both;
	padding:2em 0 3em;
}

#banner {
        background-image:url('/images/pattern_30.gif');
        background-repeat: repeat-x; 
        color:#FF0084;
	     padding:12px 20px 6px;
        font-size: 0.8em;
        width: 100%;
        clear:both;
}



#footer_wrapper { 
	background:#eaeaea;
	color:#bababa;
	clear:both;
	padding-left: 200px;
}

